#ifndef __CONFIG_H__
#define __CONFIG_H__

//basic
#define CONFIG_ISA "riscv32"
#define CONFIG_LAUNCH_MODE (STD)
//#define CONFIG_TRACE 1
//#define CONFIG_STEP_INST 1
//#define CONFIG_STEP_REG 1 //with bug
//#define CONFIG_HOLD 1
//#define CONFIG_HOLD_PC (0x80000020)

//memory
#define CONFIG_PC_RESET_OFFSET 0x0
#define CONFIG_MSIZE 0x08000000
#define CONFIG_MBASE 0x80000000
#define CONFIG_PMEM_MALLOC 1

//device
#define CONFIG_DEV_RESET_OFFSET 0x0
#define CONFIG_DSIZE 0x08000000
#define CONFIG_DBASE 0xa0000000
#define CONFIG_DMEM_MALLOC 1

//TRACE
//#define CONFIG_ITRACE 1
//#define CONFIG_ITRACE_COND 1
#define CONFIG_MAX_BUF_SIZE 16
#define CONFIG_MAX_INST_LEN 128
#define CONFIG_LOG_START 0
#define CONFIG_LOG_END 10000

//#define CONFIG_FTRACE 1
//#define CONFIG_FTRACE_COND 1

//#define CONFIG_DTRACE 1

#define CONFIG_DIFFTEST 1
#define CONFIG_DIFFTEST_COND 1

//#define CONFIG_MTRACE 1
//#define CONFIG_MTRACE_COND 1
#define CONFIG_MTRACE_SIZE 50


//vga
#define CONFIG_VGA_MOUNT 1
#define CONFIG_VGA_SIZE_800x600 1
#define CONFIG_VGA_UPDATE 1

#endif
